home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXddddbbbbeeeeGGGGeeeettttVVVViiiissssuuuuaaaallllIIIInnnnffffoooo((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXddddbbbbeeeeGGGGeeeettttVVVViiiissssuuuuaaaallllIIIInnnnffffoooo((((3333XXXX11111111))))
-
-
-
- NNNNAAAAMMMMEEEE
- XdbeGetVisualInfo
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <X11/extensions/Xdbe.h>
-
- XdbeScreenVisualInfo *XdbeGetVisualInfo(
- Display *dpy,
- Drawable *screen_specifiers,
- int *num_screens)
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This function returns information about which visuals
- support double buffering. The argument _n_u_m__s_c_r_e_e_n_s
- specifies how many elements there are in the
- _s_c_r_e_e_n__s_p_e_c_i_f_i_e_r_s list. Each drawable in _s_c_r_e_e_n__s_p_e_c_i_f_i_e_r_s
- designates a screen for which the supported visuals are
- being requested. If _n_u_m__s_c_r_e_e_n_s is zero, information for
- all screens is requested. In this case, upon return from
- this function, _n_u_m__s_c_r_e_e_n_s will be set to the number of
- screens that were found. If an error occurs, this function
- returns NULL, else it returns a pointer to a list of
- _X_d_b_e_S_c_r_e_e_n_V_i_s_u_a_l_I_n_f_o structures of length _n_u_m__s_c_r_e_e_n_s. The
- nth element in the returned list corresponds to the nth
- drawable in the _s_c_r_e_e_n__s_p_e_c_i_f_i_e_r_s list, unless _n_u_m__s_c_r_e_e_n_s
- was passed in with the value zero, in which case the nth
- element in the returned list corresponds to the nth screen
- of the server, starting with screen zero. The
- _X_d_b_e_S_c_r_e_e_n_V_i_s_u_a_l_I_n_f_o structure has the following fields:
-
- int count
- XdbeVisualInfo *visinfo
-
- _c_o_u_n_t specifies the number of items in _v_i_s_i_n_f_o. _v_i_s_i_n_f_o
- specifies a list of visuals, depths, and performance hints
- for this screen.
-
- The _X_d_b_e_V_i_s_u_a_l_I_n_f_o structure has the following fields:
-
- VisualID visual
- int depth
- int perflevel
-
- _v_i_s_u_a_l specifies one visual ID that supports double-
- buffering. _d_e_p_t_h specifies the depth of the visual.
- _p_e_r_f_l_e_v_e_l is a performance hint.
-
- The only operation defined on a _p_e_r_f_l_e_v_e_l is comparison to a
- _p_e_r_f_l_e_v_e_l of another visual on the same screen. The visual
- having the higher _p_e_r_f_l_e_v_e_l is likely to have better
- double-buffering graphics performance than the visual having
- the lower _p_e_r_f_l_e_v_e_l. Nothing can be deduced from the
-
-
-
- Page 1 (printed 4/30/98)
-
-
-
-
-
-
- XXXXddddbbbbeeeeGGGGeeeettttVVVViiiissssuuuuaaaallllIIIInnnnffffoooo((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXddddbbbbeeeeGGGGeeeettttVVVViiiissssuuuuaaaallllIIIInnnnffffoooo((((3333XXXX11111111))))
-
-
-
- following: the magnitude of the difference of two
- _p_e_r_f_l_e_v_e_l_s, a _p_e_r_f_l_e_v_e_l value in isolation, or comparing
- _p_e_r_f_l_e_v_e_l_s from different servers.
-
-
- EEEERRRRRRRROOOORRRRSSSS
- BadDrawable
- One or more values passed in _s_c_r_e_e_n__s_p_e_c_i_f_i_e_r_s is not a
- valid drawable.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- DBE, _X_d_b_e_A_l_l_o_c_a_t_e_B_a_c_k_B_u_f_f_e_r_N_a_m_e(), _X_d_b_e_B_e_g_i_n_I_d_i_o_m(),
- _X_d_b_e_D_e_a_l_l_o_c_a_t_e_B_a_c_k_B_u_f_f_e_r_N_a_m_e(), _X_d_b_e_E_n_d_I_d_i_o_m(),
- _X_d_b_e_F_r_e_e_V_i_s_u_a_l_I_n_f_o(), _X_d_b_e_G_e_t_B_a_c_k_B_u_f_f_e_r_A_t_t_r_i_b_u_t_e_s(),
- _X_d_b_e_Q_u_e_r_y_E_x_t_e_n_s_i_o_n(), _X_d_b_e_S_w_a_p_B_u_f_f_e_r_s().
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 4/30/98)
-
-
-
-